if __name__=="__main__":
	print("==>请不要直接运行menu.py。")
	exit()
class menu:
	def loadMenu():
		max=0
		with open("sub/menu.cfg",'r') as f:
			menuConfig=eval(f.read())
		for x in menuConfig:
			max = len(x['text']) if len(x['text']) > max else max
		return (menuConfig,max)
